package com.eastfair.projectcore.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * DB WorkerID Assigner for UID Generator
 * </p>
 *
 * @author ligang
 * @since 2023-09-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "WorkerNodePageQuery", description = "DB WorkerID Assigner for UID Generator")
public class WorkerNodePageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * host name
     */
    @ApiModelProperty(value = "host name")
    private String hostName;
    /**
     * port
     */
    @ApiModelProperty(value = "port")
    private String port;
    /**
     * node type: ACTUAL or CONTAINER
     */
    @ApiModelProperty(value = "node type: ACTUAL or CONTAINER")
    private Integer type;
    /**
     * launch date
     */
    @ApiModelProperty(value = "launch date")
    private LocalDate launchDate;
    /**
     * modified time
     */
    @ApiModelProperty(value = "modified time")
    private LocalDateTime modified;
    /**
     * created time
     */
    @ApiModelProperty(value = "created time")
    private LocalDateTime created;

}
